<script setup lang="ts">
import { useRouter } from "vue-router";

const router = useRouter();
</script>

<template>
  <main class="px-4 py-10 text-center text-teal-700 dark:text-gray-200">
    <div text-4xl>
      <div i-carbon-warning inline-block />
    </div>
    <router-view />
    <div>
        <button class="btn m-3 text-sm mt-8" @click="router.back()">返回</button>
    </div>
  </main>
</template>
